package com.yxp423.ssmempl.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: java类作用描述
 * @Author: yxp
 * @CreateDate: 2019-05-04 12:10
 * @Version: 1.0
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@ToString
@TableName("tbl_travel")
public class Travel implements Serializable {

    @TableId(type = IdType.UUID)
    public String applyId;

    public String userId;
    public Date startTime;
    public Date endTime;
    public String duration;
    public String place;
    public Date creatTime;
    public String applyDesc;
    public String reviewStatus;
    public String reviewerId;
    public Date reviewTime;

    @TableField(exist = false)
    public String userName;
    @TableField(exist = false)
    public String reviewerName;

}
